//Alex Silkin 
#pragma once

#ifndef TABLE_H
#define TABLE_H

#include <string>
#include "TableInterface.h"
#include "Kit.h"
#include "qpoint.h"
#include "GUIBase.h"

class TableInterface;
class Kit;

class Table: public GUIBase, public TableInterface {

public:
	Table(int startx, int starty, std::string name, QGraphicsScene * scene);
	Table(); //EMPTY CONSTRUCTOR FOR AGENT UNIT TESTS

	// ------------------------------------------------------------------------------------
	// GUI Stuff:
	QPoint getTableSlotPosition(int slot);
	virtual void doneScaling(); 
	void insert(Kit* data, int index); //sets the position after insertion in the proper slot coordinates
	// ------------------------------------------------------------------------------------

};

#endif
